package com.fortune.dal.dao;

import com.fortune.dal.model.BankCard;

import java.util.List;

public interface BankCardDAO {

    void insert(BankCard bankCard) throws Exception;

    Long deleteById(Integer id) throws Exception;

    Long updateById(BankCard bankCard) throws Exception;

    List<BankCard> queryByModel(BankCard bankCard) throws Exception;

    BankCard queryById(Integer id) throws Exception;

}
